﻿<UserControl x:Class="ICIA.ARojas.Visual.Destino.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:Didsoft_Silverlight_Controls="clr-namespace:Didsoft.Silverlight.Controls;assembly=Didsoft.Silverlight.Controls" 
             xmlns:Didsoft_Silverlight_Controls_Data="clr-namespace:Didsoft.Silverlight.Controls.Data;assembly=Didsoft.Silverlight.Controls.Data"
             
              xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
             
              mc:Ignorable="d" MinHeight="400" MinWidth="600">

    <Grid x:Name="LayoutRoot" Background="White" Margin="0,1,0,0" >

        <Didsoft_Silverlight_Controls:FormHeader DescriptionText="Datos Personales" TitleText="Personal" Margin="0,0,0,0">
            <Grid>
            	<Image HorizontalAlignment="Left" Margin="8,25,0,170" Width="109" Source="foto.jpg"/>
            	<TextBlock Height="22" Margin="8,0" TextWrapping="Wrap" Text="Nombres Apellidos" VerticalAlignment="Top" FontSize="13.333" FontWeight="Bold"/>
            	<sdk:DataGrid Margin="133,51,0,0" Height="111" VerticalAlignment="Top" HorizontalAlignment="Left" Width="459" ItemsSource="{Binding Cursos, Mode=TwoWay}"/>
            	<TextBlock Height="22" Margin="132,26,248,0" TextWrapping="Wrap" Text="Cursos" VerticalAlignment="Top" FontSize="13.333" FontWeight="Bold"/>
            	<TextBlock Height="22" Margin="8,0" TextWrapping="Wrap" Text="Nombres Apellidos" VerticalAlignment="Top" FontSize="13.333" FontWeight="Bold"/>
            	<sdk:DataGrid Margin="8,0,0,46" Height="98" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="584" ItemsSource="{Binding Destinos, Mode=TwoWay}" SelectedItem="{Binding DestinoSeleccionado, Mode=TwoWay}"/>
            	<TextBlock Height="22" Margin="8,0,0,147" TextWrapping="Wrap" Text="Destinos" VerticalAlignment="Bottom" FontSize="13.333" FontWeight="Bold" HorizontalAlignment="Left" Width="220"/>
            	<Button Content="Asignar" HorizontalAlignment="Right" Height="26" Margin="0,0,9,8" VerticalAlignment="Bottom" Width="152" Command="{Binding CmdAsignar, Mode=TwoWay}"/>
            	<Button Content="Ratificar" Height="26" Margin="287,0,168,8" VerticalAlignment="Bottom" Command="{Binding CmdRatificar, Mode=TwoWay}"/>
            	<Button Content="Ver Observaciones" Height="26" Margin="8,0,0,8" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="145" Command="{Binding CmdVerObservaciones}"/>
               

            </Grid>
        </Didsoft_Silverlight_Controls:FormHeader>

    </Grid>
</UserControl>
